package pattern.factory.ingredient

import pattern.factory.ingredient.cheese.{ReggianoCheese, Cheese}
import pattern.factory.ingredient.clames.{FreshClams, Clams}
import pattern.factory.ingredient.dough.{ThinCrustDough, Dough}
import pattern.factory.ingredient.pepperoni.{SlicedPepperoni, Pepperoni}
import pattern.factory.ingredient.sauce.{MarinaraSauce, Sauce}
import pattern.factory.ingredient.veggies._

import scala.collection.mutable.ArrayBuffer

/**
 * Created by root on 15-9-7.
 */
class NYPizzaIngredientFactory extends PizzaIngredientFactory{
  override def createDough(): Dough = new ThinCrustDough

  override def createCheese(): Cheese = new ReggianoCheese

  override def createVeggies(): ArrayBuffer[Veggies] = ArrayBuffer(new Garlic,new Onion,new Mushroom,new RedPepper)

  override def createClams(): Clams = new FreshClams

  override def createPepperoni(): Pepperoni = new SlicedPepperoni

  override def createSauce(): Sauce = new MarinaraSauce
}
